
// import S from '../../'

export default [
    {
        path: '/home', redirect: '/home/index', component: () => import('@/pages/Home/Home.vue'), children: [
            { path: '/home/index', component: () => import('@/pages/Home/Index/Index.vue') },
            { path: '/home/course', component: () => import('@/pages/Home/Course/Course.vue') },
            { path: '/home/courseDetaile', component: () => import('@/pages/Home/CourseDetaile/CourseDetaile.vue') },
            { path: '/home/shopcar', component: () => import('@/pages/Home/ShopCar/ShopCar.vue'), meta: { Auth: true } },
            { path: '/home/order', component: () => import('@/pages/Home/SureOrder/SureOrder.vue'), meta: { Auth: true } }
        ]
    },
    { path: '/login', component: () => import('@/pages/Login/Login.vue') },
    { name: 'playvideo', path: '/playvideo', component: () => import('@/pages/PlayVideo/PlayVideo.vue') },
    { path: '/', redirect: '/home' }
]

